class Batch < ActiveRecord::Base
  
  has_many :courses
  
  def children
    Batch.find_all_by_parent_batch_id(id) 
  end
  
end
